1 #include<iostream>
2 using
namespace std;
3 #define size
100
4
5 class
airlines //class declaration.
6 {

7 public
:
8     airlines();
// constructor function
9     
void main_menu(); //Menu function.
10     
void make_reservation(); // To make reservation.
11     
void cancel_reservation(); //To cancel reservation.
12     
void search_passenger(); //to search a passenger and print info.
13     
void change_reservation(); //To change reservation.
14     
void print_list(); //To print the passenger list.
15     
void print_report(); //To print the status report.
16     
17         

18 private
:
19     
struct node
20     {
21         
string fname, lname, ID, phone_num, menu;
22         
int reserve_num, seat_num;
23     
24
25         node *next;
26
27     };
//closing struct.
28     
29     node *start;
30         
31     node *temp, *temp2;
32
33 }bluesky;
//closing class.


Gõ tìm kiếm nhanh...